package Lambda表达式;

import java.util.Arrays;
import java.util.List;

public class LambdaText {
	static String[] atp = { "Rafael Nadal", "Novak Djokovic", "Stanislas Wawrinka", "David Ferrer", "Roger Federer", "Andy Murray", "Tomas Berdych", "Juan Martin Del Potro" };
	static List<String> players = Arrays.asList(atp);

	public static String lambdString(String string) {
		String newstring = new String();
		Integer newiInteger = 0;
		// newstring =() -> 5 ;
		return newstring;
	}

	public static void main(String[] args) {

		// for (String player : players) { System.out.println(player + "; "); }

		// players.forEach((player)-> System.out.println(player));
		players.forEach(System.out::println);
	}

}
